<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #171717
        }

        .box {
            width: 1210px;
            height: 400px;
            border: 10px solid #151515;
            margin: 50px auto;
            background-color: #151515;
            border-right: 0;
        }

        .box>div {
            width: 200px;
            height: 400px;
            opacity: .3;
            float: left;
            background: url("img/04-6.jpg") no-repeat center center;
            background-size: 100% 100%;
            transition: all .7s ease 0s;
        }

        .box>div:hover {
            opacity: 1;
        }

        .box>div h1 {
            color: #fff;
            font-size: 70px;
            padding: 40px 40px 0;
        }
    </style>
    <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script src="https://s1.pstatp.com/cdn/expire-1-M/jquery/1.10.2/jquery.min.js"></script>
</head>

<body>
    <div class="box">
        <div>
            <h1>1</h1>
        </div>
        <div style="background-image: url('img/04-1.jpg');">
            <h1>2</h1>
        </div>
        <div style="background-image: url('img/04-2.jpg');">
            <h1>3</h1>
        </div>
        <div style="background-image: url('img/04-3.jpg');">
            <h1>4</h1>
        </div>
        <div style="background-image: url('img/04-4.jpg');">
            <h1>5</h1>
        </div>
        <div style="background-image: url('img/04-5.jpg');">
            <h1>6</h1>
        </div>
    </div>

    <script>
        $(".box>div").mouseover(function () {
            $(this).stop().animate({
                "width": "500px"
            }, 200).siblings().stop().animate({
                "width": "140px"
            }, 200)
        })

        $(".box>div").mouseout(function () {
            $(".box>div").stop().animate({
                "width": "200px"
            }, 200)
        })
    </script>
</body>

</html>